<?php
//para uso do propel

$pastaatual = getcwd();

//para windows
$includes[] = $pastaatual."/inc";
$includes[] = $pastaatual."/inc/propel";
$includes[] = $pastaatual."/inc/propel/util";
$includes[] = $pastaatual."/inc/irados_malves";
$includes[] = ini_get('include_path');
$includesSet = implode(";",$includes); //somente para windows
//$includesSet = implode(";",$includes); //somente para linux/unix
ini_set('include_path', $includesSet);

//para unix/ linux
//ini_set('include_path',ini_get('include_path').":$pastaatual/inc/propel:$pastaatual/inc:$pastaatual/inc/propel/util:$pastaatual/inc/irados_malves");

require_once ("Propel.php");
//require_once "PropelException.php";

//require_once("Criteria.php");

try{
	Propel::init("irados_malves-conf.php");
} catch (PropelExeption $e) {
	$e->getMessage();
}

?>